#pragma once

#include "Entity.h"

namespace Cartesia
{


enum eShape {
	SHAPE_TRIANGLE,
	SHAPE_QUAD,
};


class CARTESIA_API Shape : public Entity
{
public:

	eShape	_shape;
	DWORD	_color[4];
	
	VertexColor		_vertices[4];

	void Draw();

	void SetShape(eShape eShapeType);
	void SetColor(DWORD color);
	bool SetColorPerVertex(DWORD color1, DWORD color2, DWORD color3, DWORD color4);
	bool SetColorPerVertex(DWORD color1, DWORD color2, DWORD color3);
	void SetDim(float width, float height);
	void SetPos(float x, float y);
	void Rotate(float angle);

	Shape();
	~Shape();

};

} // End Namespace Cartesia
